﻿using System.Web.Mvc;
using OASys.Web.Areas.ModuleSys.Models;
using OASys.Web.Base;
using Project.Web.Base.Utility;
using Project.Web.Base;

namespace OASys.Web.Areas.ModuleSys.Controllers
{
	/// <summary>
	/// 日志管理
	/// 作者：尤啸
	/// 时间：2012-06-27
	/// </summary>
	public class LogsController : BaseController
	{   
        /// <summary>
        /// 默认Action
        /// 作者：尤啸
        /// 时间：2012-06-27
        /// </summary>
        /// <param name="model">页面加载模组</param>
        /// <param name="export">导出帮助</param>
        /// <returns>视图</returns>
        public ActionResult Index(ModelLogsIndex model, ExportHelper export)
		{
            //设置模组的导出对象
            model.ExportObject = export;

            //grid页面加载数据
            model.RetriveData();
            
            //返回页面视图
			return View(model);
		}
    }
}